package com.sugon.modules.device.model.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 设备维护工单执行状况统计DTO
 *
 * @Author YuXD
 * @Version 1.0
 * @since 2023/2/13
 */
@Data
public class DevAmTicketStatDTO implements Serializable {

    /**
     * 年度
     */
    private Integer yearly;

    /**
     * 周次
     */
    private Integer weeklyOfYear;

    /**
     * 对应周期开始日期
     */
    private String startDate;

    /**
     * 对应周次结束日期
     */
    private String endDate;

    /**
     * 各车间统计信息
     */
    private List<DevAmTicketWorkshopStatDTO> workshopStats;

    public DevAmTicketStatDTO(Integer yearly, Integer weeklyOfYear, String startDate, String endDate) {
        this.yearly = yearly;
        this.weeklyOfYear = weeklyOfYear;
        this.startDate = startDate;
        this.endDate = endDate;
    }

}
